﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MiniBug.Entity.Bug>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewPage1
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>ViewPage1</h2>

    <fieldset>
        <legend class="bug-number"><%: Model.Number %></legend>       
                
        <div class="display-label">idBugParent</div>
        <div class="display-field"><%: Model.idBugParent %></div>
        
        <div class="display-label">Title</div>
        <div class="display-field"><%: Model.Title %></div>
        
        <div class="display-label">Description</div>
        <div class="display-field"><%: Model.Description %></div>
        
        <div class="display-label">OpenDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.OpenDate) %></div>
        
        <div class="display-label">CloseDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.CloseDate) %></div>
        
        <div class="display-label">idProject</div>
        <div class="display-field"><%: Model.idProject %></div>
        
        <div class="display-label">idCategory</div>
        <div class="display-field"><%: Model.idCategory %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%: Model.Status %></div>
        
        <div class="display-label">idPriority</div>
        <div class="display-field"><%: Model.idPriority %></div>
        
        <div class="display-label">idOwner</div>
        <div class="display-field"><%: Model.idOwner %></div>
        
        <div class="display-label">EstimatedTime</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.EstimatedTime) %></div>
        
        <div class="display-label">ActualTime</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.ActualTime) %></div>
        
        <div class="display-label">DueDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.DueDate) %></div>
        
        <div class="display-label">idComponent</div>
        <div class="display-field"><%: Model.idComponent %></div>        

        
        <div class="display-label">idAssignedTo</div>
        <div class="display-field"><%: Model.idAssignedTo %></div>
        
        <div class="display-label">AdjustmentFactor</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.AdjustmentFactor) %></div>
        
        <div class="display-label">EstimatedAjusted</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.EstimatedAjusted) %></div>
        
        <div class="display-label">idLastEditedBy</div>
        <div class="display-field"><%: Model.idLastEditedBy %></div>
        
        <div class="display-label">LastEditedAt</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.LastEditedAt) %></div>
        
        <div class="display-label">Views</div>
        <div class="display-field"><%: Model.Views %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("Edit", "Edit", new { id=Model.idBug }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="CustomScript" runat="server">
</asp:Content>

